package com.xcl.service.Impl;

import com.xcl.dao.AreaDao;
import com.xcl.entity.Area;
import com.xcl.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * AreaServiceImpl
 *
 * @author 徐长乐
 * @date 2019/9/25
 */
@Service
public class AreaServiceImpl implements AreaService {
    @Autowired
    private AreaDao areaDao;

    public List<Area> getAreaList() {
        return areaDao.queryArea();
    }
}
